package com.huibo.aigou.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("t_brand")
public class Brand {
	
	@TableId(type=IdType.AUTO)
	private Long id;
	
	@TableField("createTime")
	private Long createTime;
	
	@TableField("updateTime")
	private Long updateTime;
	
	private String name;
	
	@TableField("englishName")
	private String englishName;
	
	@TableField("firstLetter")
	private String firstLetter;
	
	private String description;
	
	@TableField("product_type_id")
	private Long productTypeId;
	
	@TableField("sortIndex")
	private int sortIndex;

	private String logo;
	
	@TableField(exist = false)
	private ProductType productType;
	

}
